package com.niiwoo.civet.trade.dto.response.fanlitou;
import com.niiwoo.civet.trade.dto.response.fanliInvest.BidListDTO;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Setter
@Getter
public class FanLiTouInvestResponseDTO implements Serializable {
	private static final long serialVersionUID = -8105574322099354646L;
	private Boolean success = true;//查询结果，成功：true，失败：false
	private String  message;//返回信息描述，如：成功信息，或异常信息
	private Integer total_count;//标的总条数，用于分页使用，如：100条
	private List<Orders> bid_list = new ArrayList<>();

	@Setter
	@Getter
	public static class Orders implements Serializable {
		private static final long serialVersionUID = -8105571233099354646L;
		private String uid;
		private String phone_num;
		private String bid_id;
		private String bid_name;
		private Double invest_amount;
		private Date invest_time;
		private Boolean is_first_invest;
		private Boolean is_advanced_repay;
		private Date advanced_repay_date;
	}
}
